$(function () {
				echarts_1();
			function echarts_1() {
			var myChart = echarts.init(document.getElementById('echart1'));
			var uploadedDataURL = "/asset/get/s/data-1547533200844-7eBMgp66l.png";
			 var dataIPSxAxis = ['1月', '2月', '3月', '4月 ', '5月 ', '6月', '7月', '8月'];
			 var dataIPS = [60, 140, 80, 350, 100, 160, 60, 90];
			 option = {
				 tooltip: { trigger: 'axis',
		},
				 color: ["#0080ff", "#4cd5ce"],
				 grid: {
					 left: '20',
					right: '35',
					top:'10%',
					bottom: '0%',
					 containLabel: true
				 },
				 xAxis: [{
					 type: 'category',
					 boundaryGap: false,
					 data: dataIPSxAxis,
					 axisLabel: {
						 show: true,
						 textStyle: {
							 color: '#777',
							 //fontSize: 12,
						 },
					 },
					 axisLine: {
						 show: false
					 }
				 }],

				 yAxis: [{
					 type: 'value',
					 axisLine: {
						 onZero: false,
						 show: false,
					 },
					 axisLabel: {
						 show: true,
						 textStyle: {
							 color: '#777' //字体颜色
						 }
					 },
					 splitNumber: 3,
					  splitLine:{
							show:true,
							lineStyle:{
								color:'#eee',
								type:'dotted'
							}
						},
				 }],
				 series: [
					 {
						 name: '预警',
						 type: 'line',
						 smooth: true,
						 //  symbol: "none", //去掉折线点
					//	 stack: 100,
					 lineStyle: {
            normal: {
                width: 6,
                color: {
                    type: 'linear',

                    colorStops: [{
                        offset: 0,
                        color: '#A9F387' // 0% 处的颜色
                    }, {
                        offset: 1,
                        color: '#00a1b4' // 100% 处的颜色
                    }],
                    globalCoord: false // 缺省为 false
                },
                shadowColor: 'rgba(72,216,191, 0.3)',
                shadowBlur: 10,
                shadowOffsetY: 20
            }
        },
        itemStyle: {
            normal: {
                color: '#fff',
                borderWidth: 10,
                /*shadowColor: 'rgba(72,216,191, 0.3)',
                shadowBlur: 100,*/
                borderColor: "#A9F387"
            }
        },
              areaStyle:{

				color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
                    offset: 0,
                    color: 'rgba(0,161,179,.2)' ,
                }, {
                    offset: 1,
                    color: 'rgba(0,161,179,.0)' ,
                }], false),

              },symbolSize: 0, //折线点的大小
						 data: dataIPS,
					 },
				 ]
			 };
					myChart.setOption(option);
					window.addEventListener("resize",function(){
						myChart.resize();
					});
				}

			})